package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.entity.FootPrint;
import com.example.vo.buyer.SpuSkuDetail;

import java.util.Date;
import java.util.List;

/**
* @author 朽
* @description 针对表【foot_print】的数据库操作Service
* @createDate 2024-05-21 10:37:05
*/
public interface FootPrintService extends IService<FootPrint> {
    List<SpuSkuDetail> getDetail(Long userId);

    void addFootPrint(Long userId, Long spuId, Date footprintTime);

    boolean deleteFoot(Long userId, Long spuId);

    boolean deleteAllFoot(Long userId);

    void asyncSyncFootWithDatabaseOnLogout(Long userId);
}
